package com.company.cloud.oss.modules.app.controller.req;

import javax.validation.constraints.NotEmpty;

import com.company.cloud.common.bean.BaseParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Upload2Base64Param extends BaseParam {

	@ApiModelProperty(value = "文件内容", required = true)
	@NotEmpty(message = "文件内容不能为空")
	private String content;

	@ApiModelProperty(value = "文件后缀名", required = true)
	@NotEmpty(message = "文件后缀名不能为空")
	private String fileSuffix;

	@ApiModelProperty(value = "宽")
	private String width;

	@ApiModelProperty(value = "高")
	private String height;

	@ApiModelProperty(value = "宽高比")
	private String aspect;

}
